<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<div class="fly-footer" th:fragment="header-fragment">
    <p><a href="/" target="_blank">博客</a> 2021 &copy; <a href="/" target="_blank">xxx出品</a></p>
    <p>
        <input type="hidden" th:value="${index[0].getBlogTongji}" id="tongjiinput">
        <b>备案号：</b><b th:text="${index[0].getBlogIcp}"></b>&nbsp;&nbsp;&nbsp;
        <b>统计代码：</b><b id="tongji" th:text="${index[0].getBlogTongji}"></b>&nbsp;&nbsp;&nbsp;
    </p>
    <p>
        <input type="hidden" th:value="${index[0].getBlogBanquan}" id="banquaninput">
        <b>版权：</b><b id="banquan"></b>
    </p>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>


</div>
<script th:fragment="script-fragment">
    $("#logut").on("click",function (){
        layer.confirm('确定退出吗？', function(index){
            location.href = 'user/logout';
        });
        return false;
    })
</script>

</div>
</html>